﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ConfirmGetProductWayA.aspx.cs" Inherits="WXYW.ConfirmGetProductWayA" %>
<asp:Content ID="content2" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    客户自取确认 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
    <img src="image/operateicon/print.gif" alt="" />
    <a onclick="preview()">打印</a>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
<!--startprint-->
<asp:GridView ID="applicationGridView" runat="server" AutoGenerateColumns="False"
        AllowPaging="True" PageSize="20" 
        onpageindexchanging="applicationGridView_PageIndexChanging" 
        CssClass="tableList" Width="100%" 
        onrowdatabound="applicationGridView_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderImageUrl="~/image/operateicon/button_Select.gif">
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="IDLbl" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="RMA 号" DataField="ApplicationCode" />
            <asp:TemplateField HeaderText="客户名称">
                <ItemTemplate>
                    <%#Eval("User.UserName")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="收货日期">
                <ItemTemplate>
                    <%#Convert.ToDateTime(Eval("ReceiveDateTime")).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="通知取货日期">
                <ItemTemplate>
                     <%#Convert.ToDateTime(Eval("NortificationDateTime")).ToString("yyyy-MM-dd")%>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" 
                        Text='<%# Bind("NotificationDateTime") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="联系人">
                <ItemTemplate>
                    <%#Eval("User.ContactPerson")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="联系电话">
                <ItemTemplate>
                    <%#Eval("User.UserMobilePhone")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Status" HeaderText="当前状态" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <img src="image/operateicon/docview.gif" alt="" />
                    <asp:LinkButton ID="viewLinkButton" OnClick="viewLinkButton_click" CommandArgument='<%#Eval("ApplicationID") %>'
                        runat="server">查看</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <!--endprint-->
</asp:Content>